/*导航栏*/
.nav {
    margin: 0 auto;
    width: 1180px;
    border-bottom: solid 1px #e6e6e6;
    .logo {
      font-size: 30px;
      line-height: 60px;
      color: #409eff;
    }
    .el-menu-demo {
      border: none;
    }
  }
  /*搜索框*/
  .search-box {
    line-height: 59px;
  
    .el-icon-search {
      margin: 0 10px 0 0;
      font-size: 20px;
      color: #409eff;
    }
  }
  /*账户操作*/
  .menu-list-account {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    height: 60px;
    margin: 0;
    font-size: 14px;
    color: #409eff;
    li {
      margin: 0 10px;
      /* border: 1px solid #409eff; */
    }
    .nologin {
      border-radius: 10px;
      line-height: normal;
      width: 40px;
      line-height: 30px;
      text-align: center;
  
      &:hover {
        background: #8bc3fc;
        color: white;
        cursor: pointer;
      }
    }
    .router-link-active {
      background: #8bc3fc;
      color: white;
    }
  }
  .menu-list-account-login {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #8bc3fc;
    &:hover {
      cursor: pointer;
    }
    .user {
      display: flex;
      .photo {
        width: 38px;
        height: 38px;
        border-radius: 19px;
        overflow: hidden;
        margin-right: 10px;
      }
      .default-photo{
        height: 100%;
        width: 100%;
        background-color: brown;
        color: wheat;
        text-align: center;
        font-size: 18px;
      }
      .userName {
        margin: auto 0;
        line-height: 39px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
    .login {
      line-height: 39px;
      padding: 12px 10px 10px 10px;
      &:last-child {
        margin-right: 0px;
      }
      &:hover {
        background-color: #e6e6e6;
      }
    }
  }